"""
@Time: 2021/1/24 下午 7:38
@Author: jinzhuan
@File: el_toolkit.py
@Desc: 
"""
import torch
from cognlp import *
torch.cuda.set_device(5)

el_toolkit = ElToolkit(wikidata2wikipedia_path='../../../cognlp/data/cognet/wikidata2wikipedia.json')
el_result = el_toolkit.run('She would be the first foreign woman to die in the wave of kidnappings in Iraq.')
print(el_result)
